//
//  Harbor.swift
//  FoundationCustom
//
//  Created by ZhouJiatao on 2019/8/13.
//  Copyright © 2019 Unknow. All rights reserved.
//

import Foundation
import CoreLocation

//// 港口
public struct Harbor {
    ///坐标
    public var coordinate: CLLocationCoordinate2D
    /// 用户输入的地址名
    public var address: String
    /// 地理编码(高德6位编码）
    public var geocode: String
    
    public init(coord: CLLocationCoordinate2D, address: String, geocode: String = "") {
        self.coordinate = coord
        self.address = address
        self.geocode = geocode
    }
}
